﻿using SD.Infrastructure.RepositoryBase;
using SlamDunk.MES.Domain.Entities.DefinitionContext;
using System;
using System.Collections.Generic;

namespace SlamDunk.MES.Domain.IRepositories.Interfaces.DefinitionContext
{
    /// <summary>
    /// 物料清单项仓储接口
    /// </summary>
    public interface IBomItemRepository : IEntityRepository<BomItem>
    {
        #region # 获取物料清单项列表 —— ICollection<BomItem> Find(Guid bomId)
        /// <summary>
        /// 获取物料清单项列表
        /// </summary>
        /// <param name="bomId">物料清单Id</param>
        /// <returns>物料清单项列表</returns>
        ICollection<BomItem> Find(Guid bomId);
        #endregion
    }
}
